package com.mzy.datepackage.M2022.July.tentwo;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/7/15 13:11
 * @Version 1.0
 */
public class Demo {

    public static void main(String[] args) {

        if ("null" !=null && null!=null){
            System.out.println(55);
        }

        try {
            a();
        } catch (Exception e) {
            System.out.println("有问题"+e.getMessage());
        }

    }

    public static void a(){
        b();
    }


    public static void b(){
        try {
            int a=3/0;
            System.out.println("出错");
        } catch (Exception e) {
            throw new SystemException("出错");
        }
    }

}
